package _2ChouXiangGongChang.abst.factory;

import _2ChouXiangGongChang.abst.Operation;

/**
 * @AddFact: 加法 抽象子类 具体工厂
 * @author: ZBoHang
 * @time: 2021/9/1 17:00
 */
public class AddFact extends Operation {
    @Override
    public double getResult(double numberA, double numberB) throws Exception {
        return numberA + numberB;
    }
}
